package sk.uniba.fmph.asdf.gui.frames;

import javax.swing.JPanel;
import sk.uniba.fmph.asdf.gui.views.MainView;

/**
 * Abstraktna nadtrieda pre vsetky viewy systemu.
 * Umoznuje volat metody hlavného okna.
 *
 * @author Jakub
 */
public abstract class Frame extends JPanel {

	private static final long serialVersionUID = 2672072805422082141L;
	public MainView parent;

	Frame(MainView parent) {
		this.parent = parent;
	}

	/**
	 * Metoda volana pri znovunacitani viewu.
	 * Obsahuje reinicializaciu, ak je potrebna.
	 */
	public void onShow() {

	}
}
